﻿@using System.Text
@using DistanceLearning.Models
@model DistanceLearning.Models.Parent

<script type="text/javascript">
    var rowIndex;
    var columnIndex;

    function OnGridViewEndCallback(s, e) {
        drillDownPopup.SetSize(100, 100);
        //journalPivotGrid.PerformCallback({ "SubjectName": subjectsComboBox.lastSuccessValue });
    }
    
    function OnJournalGridBeginCallback(s, e) {
        //debugger;
        //e.customArgs["SubjectName"] = subjectsComboBox.lastSuccessValue;
        journalPivotGrid.FillStateObject(e.customArgs);
    }
</script>

@{
    var allPupilDetails = Model.ParentChilds.SelectMany(_ => _.Pupil.ConcreteLessonPupilDetails);
    @Html.Partial("MarksPagePartial", allPupilDetails)
}
